echo off
echo "openocd reset"
set cfgpwd=%cd:\=/%
echo %cfgpwd%
openocd -f %cfgpwd%/UserScript/openocd.cfg -c init -c halt -c reset -c shutdown